import {
    getRequest,
    postRequest,
    putRequest,
    deleteRequest,
    uploadFileRequest,
    getAx,
    postAx,
    poJson
  } from "@/libs/axios";
  export const getOrganize= (id,params) => {//通过id获取组织菜顶级地址
    return getRequest(`/department/getByParentId/${id}`, params)
}
export const getSearch= (params) => {//搜索组织
    return getRequest('/department/search', params)
}
export const graphicsPage= (params) => {//通过组织结构获取界面列表
  return getRequest('/graphicsPage/page', params)
}
///graphicsPage/add
export const graphicsPageAdd= (params) => {//通过组织结构获取界面列表
  return getRequest('/graphicsPage/add', params)
}